package com.buli.blmall.admin.config;

import com.buli.blmall.admin.core.cache.RedisClient;
import org.redisson.api.RedissonClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *
 * @author xiang.gao
 * @date 2024/12/20 11:33
 */
@Configuration
public class RedisConfig {

    @Bean
    public RedisClient redisClient(RedissonClient redissonClient) {
        return new RedisClient(redissonClient);
    }

}
